﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace ro.fortech.training.mvc.control
{
    public class NavigateController
    {
        AccountController login = new AccountController();

        public bool ShowScreenStart(string username, string password)
        {
            
            if (login.Login(username, password))
               return true;
            
            return false;
        }

        public bool ShowLoginScreen()
        {
            if (login.Logout())
                return true;
            else return false;
        }
    }
}
